/*
 * CommandeRepartir.cpp
 *
 *
 *  Created on: 21 dec. 2012
 *      Author: guegan
 */


#include "CommandeRepartir.h"

CommandeRepartir* CommandeRepartir::instance = NULL;

CommandeRepartir* CommandeRepartir::getInstance() {
	if (instance == NULL)
		instance = new CommandeRepartir();
	
	return instance;
}

Commande* CommandeRepartir::constructeurVirtuel() {
	Commande* com = new CommandeRepartir();
	
	return com;
}

void CommandeRepartir::execute() {
	bot->repartir();
}

void CommandeRepartir::desexecute() {
	bot->figer();
}

bool CommandeRepartir::reversible() {
	return true;
}

